<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TrabalhodeSistemasOperacionais: Código-Fonte de threadfilatransacoes.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gerado por Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TrabalhodeSistemasOperacionais&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;Principal</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;de&#160;Arquivos</span></a></li>
      <li><a href="globals.html"><span>Arquivos&#160;Membros</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>threadfilatransacoes.h</h1>  </div>
</div>
<div class="contents">
<a href="threadfilatransacoes_8h.html">Vá para a documentação deste arquivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef THREADFILATRANSACOES_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define THREADFILATRANSACOES_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#include &lt;QQueue&gt;</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;QDebug&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;QThread&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;<a class="code" href="controladorderecursos_8h.html">controladorderecursos.h</a>&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="transacao_8h.html">transacao.h</a>&quot;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;QFile&gt;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;QTextStream&gt;</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &lt;QStringList&gt;</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;QString&gt;</span>
<a name="l00012"></a>00012 
<a name="l00014"></a><a class="code" href="classThreadFilaTransacoes.html">00014</a> <span class="keyword">class </span><a class="code" href="classThreadFilaTransacoes.html">ThreadFilaTransacoes</a> : <span class="keyword">public</span> QThread
<a name="l00015"></a>00015 {
<a name="l00016"></a>00016     Q_OBJECT
<a name="l00017"></a>00017 <span class="keyword">public</span>:
<a name="l00018"></a>00018     <span class="keyword">explicit</span> <a class="code" href="classThreadFilaTransacoes.html#ade93566c429a6a82d59baf772502371b">ThreadFilaTransacoes</a>(QObject *parent = 0);
<a name="l00021"></a>00021     <a class="code" href="classThreadFilaTransacoes.html#ade93566c429a6a82d59baf772502371b">ThreadFilaTransacoes</a>(QQueue&lt;Transacao&gt; *, <a class="code" href="classControladorDeRecursos.html">ControladorDeRecursos</a> *);
<a name="l00022"></a>00022 
<a name="l00023"></a>00023     <span class="keywordtype">void</span> <a class="code" href="classThreadFilaTransacoes.html#ab162ab67b86457789954226e1f465530">run</a>();
<a name="l00026"></a><a class="code" href="classThreadFilaTransacoes.html#aec9829e86f58bb98d9870c5cf2e02517">00026</a>     QQueue&lt;Transacao&gt; *<a class="code" href="classThreadFilaTransacoes.html#aec9829e86f58bb98d9870c5cf2e02517">fila</a>;
<a name="l00027"></a><a class="code" href="classThreadFilaTransacoes.html#a391d716d0799768e30cc34d64c385c94">00027</a>     QFile * <a class="code" href="classThreadFilaTransacoes.html#a391d716d0799768e30cc34d64c385c94">arquivo</a>;
<a name="l00028"></a><a class="code" href="classThreadFilaTransacoes.html#a38eef334ec7188077cf59d08149197fe">00028</a>     QTextStream * <a class="code" href="classThreadFilaTransacoes.html#a38eef334ec7188077cf59d08149197fe">streamDeTexto</a>;
<a name="l00029"></a><a class="code" href="classThreadFilaTransacoes.html#a8b25e15586f5601f5acdc1899ea64631">00029</a>     <a class="code" href="classTransacao.html">Transacao</a>  <a class="code" href="classThreadFilaTransacoes.html#a8b25e15586f5601f5acdc1899ea64631">transacaoAtual</a>;
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 
<a name="l00035"></a><a class="code" href="classThreadFilaTransacoes.html#a66821f88350f8ad40cf5de1a4a5642c8">00035</a>     <a class="code" href="classControladorDeRecursos.html">ControladorDeRecursos</a> *<a class="code" href="classThreadFilaTransacoes.html#a66821f88350f8ad40cf5de1a4a5642c8">controladorDeRecursos</a>;
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 
<a name="l00040"></a>00040     <span class="keywordtype">void</span> <a class="code" href="classThreadFilaTransacoes.html#ae7d45ed2b327d07b956fc28ec51daaa7">leLinhaTransacoes</a>();
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 signals:
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 <span class="keyword">public</span> slots:
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 };
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <span class="preprocessor">#endif // THREADFILATRANSACOES_H</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Gerado em Terça, 6 de Dezembro de 2011 01:44:55 para TrabalhodeSistemasOperacionais por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
